{if ($list)}
{foreach $list as $key => $val} 
<tr class="gradeA odd">
    <td>{$key + 1}</td>
    <td>{$val['batch_number']}</td>
    <td>{$val['real_name']}</td>
    <td>{$val['user_phone']}</td>
    <td>{$val['idcard']}</td>
    <td>{$val['left_money']}</td>
    <td>{$val['amount']}</td>
    <td>{$val['duration']}</td>
    <td>{$val['left_duration']}</td>
    <td>{$val['car_price']}</td>
    <td>{$val['money']}</td>
    <td>{$val['repayment_type']}</td>
    <td>{$val['status']}</td>
    <td>
        {if (strtotime($val['update_time']))}
            {$val['update_time']}
        {/if}
    </td>
    <td>
        <a href="{:url('Management/carDetail',['id'=>$val['id']])}" class="btn btn-info">详情</a>
    </td>
</tr>
{/foreach}                            
{else /}
<tr class="gradeA odd">
    <td style="text-align:center;" colspan="15">没有找到符合条件的记录</td>
</tr>
{/if}